<h1>Products list</h1>
<% for product in @products -%>
  <div class="entry">
    <%= image_tag product.image_url %>
    <h3><%=h product.title %></h3>
    <%= product.description %><br />
    <span class="price"><%= number_to_currency(product.price, :unit => "$") %></span>
    <%= button_to "Add to Cart", :action => :add_to_cart, :id => product %>
  </div>
<% end %>

